home *** CD-ROM | disk | FTP | other *** search
-
- Bit
-
-
- _________________________________________________
-  
- bit-and *260*
-
-
- Input types: integer; integer
-
- Output types: integer
-
- Description: OutBits is the bitwise AND of InBits1 and InBits2.
-
- See also: bit-or, bit-xor, bit-not, bit-shift-l, bit-shift-r
-
-
- _________________________________________________
-  
- bit-not *260*
-
-
- Input types: integer
-
- Output types: integer
-
- Description: OutBits is the bitwise complement of InBits.
-
- See also: bit-or, bit-xor, bit-and, bit-shift-l, bit-shift-r
-
-
- _________________________________________________
-  
- bit-or *260*
-
-
- Input types: integer; integer
-
- Output types: integer
-
- Description: OutBits is the bitwise OR of InBits1 and InBits2.
-
- See also: bit-and, bit-xor, bit-not, bit-shift-l, bit-shift-r
-
-
- _________________________________________________
-  
- bit-shift-l *261*
-
-
- Input types: integer; integer
-
- Output types: integer
-
- Description: Performs a bitwise shift left by N bits on InBits. The rightmost N bits of OutBits are each 0.
-
- See also: bit-and, bit-or, bit-xor, bit-not, bit-shift-r
-
-
- _________________________________________________
-  
- bit-shift-r *261*
-
-
- Input types: integer; integer
-
- Output types: integer
-
- Description: Performs a bitwise shift right by N bits on InBits. The leftmost N bits of OutBits are each 0.
-
- See also: bit-and, bit-or, bit-xor, bit-not, bit-shift-l
-
-
- _________________________________________________
-  
- bit-xor *261*
-
-
- Input types: integer; integer
-
- Output types: integer
-
- Description: OutBits is the bitwise XOR of InBits1 and InBits2.
-
- See also: bit-and, bit-or, bit-not, bit-shift-r, bit-shift-l
-
-
- _________________________________________________
-  
- test-all? *262*
-
-
- Input types: integer; integer
-
- Output types: boolean
-
- Description: Result is TRUE if all of Value’s set bits correspond to Mask’s set bits.
-
-
- _________________________________________________
-  
- test-bit? *262*
-
-
- Input types: integer; integer
-
- Output types: boolean
-
- Description: Result is TRUE if the bit in Value at BitPosition is set.
-
-
- _________________________________________________
-  
- test-one? *262*
-
-
- Input types: integer; integer
-
- Output types: boolean
-
- Description: Result is TRUE if one of Value’s set bits corresponds to one of Mask’s set bits.
-